
SYSTEMC_HOME := $(PWD)/../../sc/
export LD_LIBRARY_PATH := $(SYSTEMC_HOME)/lib

SYSTEMC_CFLAGS := -I$(SYSTEMC_HOME)/include -L$(SYSTEMC_HOME)/lib -lsystemc
CFLAGS := $(SYSTEMC_CFLAGS)

run:
	g++ $(CFLAGS) -o hello.elf hello.c
	./hello.elf

clean:
	rm -f *.o *.elf
	